package com.qianyu.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qianyu.project.entity.SubBiddingHistory;

import java.util.Map;

/**
 * @author gs
 * @date create in 2021/2/3 10:29
 */
public interface ISubBiddingHistroyService extends IService<SubBiddingHistory> {

    /**
     * description: 保存的方法 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [subBiddingHistory] <br/>
     * return: void
     */
    void submit(SubBiddingHistory subBiddingHistory);

    /**
     * description:看是否存在 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [tenderId] <br/>
     * return: com.qianyu.project.entity.SubBiddingHistory
     */
    SubBiddingHistory isExist(String subId);

    /**
     * description: 更新的方法 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [subBiddingHistory] <br/>
     * return: void
     */
    void update(SubBiddingHistory subBiddingHistory);

    /**
     * description: 分页数据 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [params] <br/>
     * return: com.baomidou.mybatisplus.core.metadata.IPage<com.qianyu.project.entity.SubBiddingHistory>
     */
    IPage<SubBiddingHistory> getPageList(Map<String, String> params);

    /**
     * description: 选择的方法 <br/>
     * author: gs   <br/>
     * date: 2021/2/3 <br/>
     * params: [subBiddingHistory] <br/>
     * return: void
     */
    void cooperation(SubBiddingHistory subBiddingHistory);
}
